<?php
namespace app\admin\validate;
use think\Validate;

class Video extends Validate
{
    
    protected $rule = [
        'id' =>  'require|number',
    ];

    protected $message = [
        'id.require' => '视频ID不能为空!',
        'id.number'  => '视频ID类型错误!',
    ];

    protected $scene = [
        'log'    =>  ['id'],
    ];

}